package com.example.otherspringbootstarter.config;

import com.example.otherspringbootstarter.pojo.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.example.otherspringbootstarter")
public class StudentConfig {

    @Bean
    public Student student() {
        return new Student();
    }

}
